<?php
class ActionRouterFactory
{
	public static function create()
	{
		$configer = ConfigerFactory::create();
		
		$actionRouter = $configer->get('config.web:actionRouter');
		if($actionRouter) return ClassFactory::forName($actionRouter);
		
		//default pageContext => BasePageContext.class.php
		return ClassFactory::forName('com.dudulook.base.BaseActionRouter');
	}
}
?>